package com.jt.basic;

import java.io.UnsupportedEncodingException;
import java.nio.charset.Charset;

public class ByteTests {
    public static void main(String[] args) throws UnsupportedEncodingException {
        String s1="达内";
        byte[]bytes=s1.getBytes("GBK");
        System.out.println(bytes.length);
    }
}
